
Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.07.04 08:08:00 -
[3]
I use the 1.5.0 api. This is the code where the exception occours:
CorporationWalletTransactionApi api = new CorporationWalletTransactionApi(); api.AuthenticationData = auth; api.IgnoreMemoryCache = true; api.MultiPartRequestIgnore = true; api.UpdateData(); <- Exception with in32 not beeing int64[1]
And I don't know what I can do to not trap into this exception. The interesting thing in the exception is the "EveAI.Live.EveApiBase.ReadXmlInt32" thing. You just told me that the API use ReadXmlInt64!?
[1] System.OverflowException wurde nicht behandelt. Message=Der Wert fnr einen Int32 war zu groŻ oder zu klein. Source=mscorlib StackTrace: bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei System.Int32.Parse(String s, IFormatProvider provider) bei EveAI.Live.EveApiBase.ReadXmlInt32(XmlNode node, String attributeName) bei EveAI.Live.Utility.WalletTransactionApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) bei EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) bei EveAI.Live.EveApiBase.UpdateDataFromWeb() bei EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) bei EveAI.Live.EveApiBase.UpdateData() bei EveHelper.EveApiContext.LoadCorporationTransactions() in C:\Entwicklung\EveHelper.net\EveHelper\EveApiContext.cs:Zeile 176. bei EveHelper.Markt.MarktPanel.callAPIBtn_Click(Object sender, EventArgs e) in C:\Entwicklung\EveHelper.net\EveHelper\Markt\MarktPanel.cs:Zeile 417. bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ScrollableControl.WndProc(Message& m) bei System.Windows.Forms.ToolStrip.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei EveHelper.Program.Main(String[] args) in C:\Entwicklung\EveHelper.net\EveHelper\Program.cs:Zeile 70. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException:
|